package org.ssh.service;

import java.util.List;

import org.ssh.dao.IBaseDao;
import org.ssh.dao.IUserDao;
import org.ssh.pojo.User;

public interface IUserService<T> {
      
 
      
    public T doLogin(String username,String userpwd); 
      
    public List<T> queryUsers(String username,Class<User> clazz);
     
    public void addUser(T user);
      
    public void modifyUser(T user);
      
    public void deleteUser(int userid,Class<T> clazz);
      
    public T getUser(Class<T> clazz, int userid);
      
    public IUserDao getUserDao();
  
    public void setUserDao(IUserDao userdao);
}  